package com.tegtech.tools.wechat.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import lombok.Getter;

/**
 * 微信小程序相关配置
 * @Author Jun
 * @date 2021年4月28日 下午12:17:42
 */
@Component
@ConfigurationProperties(prefix = "wechat")
public class WechatProperties {
	
	@Getter
	private static String appId;
	
	@Getter
	private static String appSecret;
	
	public void setAppId(String appId) {
		WechatProperties.appId = appId;
	}

	public void setAppSecret(String appSecret) {
		WechatProperties.appSecret = appSecret;
	}
	
}
